/*
 * Servo NETMF Driver
 *	Coded by Chris Seto August 2010
 *	<chris@chrisseto.com> 
 *	
 * Use this code for whatveer you want. Modify it, redistribute it, I don't care.
 * I do ask that you please keep this header intact, however.
 * If you modfy the driver, please include your contribution below:
 * 
 * Rafa Gomez: Inital release (1.0)
 * 
 * */


using System;
using Microsoft.SPOT;

namespace Servo.Netduino
{
    public class DefaultServo:Servos
    {
        public override int[] range
        {
            get
            {   
                // Typical settings
                return new int[2]
				{
					1000,
					2000,
				};
            }
        }

        public override uint period
        {
            get { return 20000; }
        }

        public override int angleMin
        {
            get { return 0; }
        }

        public override int angleMax
        {
            get { return 180; }
        }

        public override int CenterValue
        {
            get { return 90; }
        }
    }
}
